<?php

$this->title = '';
$this->registerCss("
   
    .page-index{padding:40px 0px 0px 0px;text-align:center;background:#F7F7F7}
    .page-index .title{font-size:28px;font-weight:500;color:#333}
    .page-index .desc{text-transform: uppercase;font-size:18px;color:#333;font-weight:300;letter-spacing:1px}
    .cate-list{padding:0 20px;}

    input{width:100%;height:44px;background:#F4F4F6;outline:none;border:0px;padding-left:15px}
    textarea{height:100px;width:100%;background:#F4F4F6;outline:none;border:0px;padding:15px}
    button{width:100%;height:44px;margin-top:30px;background:#2F5DCA;color:#fff;font-size:18px;line-height44px;outline:none;border:0px}

");
?>

<div class="page-index">
    <p class="title" style="margin-bottom: 5px">论文资源</p>
    <p class="desc" style="text-transform: uppercase;margin-bottom: 20px">paper resources</p>

    <div class="cate-list">
        <?php foreach($catelist as $k=>$v){ ?>
        <a href="/touch/default/list?id=<?=$k?>" style="text-decoration: none;">
            <div class="cate-item" style="width:100%;height:44px;background: url(/img/mokuai2x.png) no-repeat center;background-size: cover;display: flex;align-items: center;line-height: 44px;padding: 0 10px;">
                <div style="flex:3;text-align: left;">
                    <p style="margin: 0px;font-size: 16px;color:#fff;font-weight:500"><?=$v?></p>
                </div>
                <div style="flex:1;text-align: right;">
                     <p style="margin: 0px;color:#F6C900;font-size: 14px;font-weight: 500">MORE <span class="glyphicon glyphicon-circle-arrow-right"></span></p>
                </div>
            </div>
        </a> 
        <?php }?>
    </div>

    <div class="sec-about" style="width:100%;background: url(/img/bg-about@2x.png) no-repeat center;background-size:cover;padding: 40px 20px;text-align: center;margin-top: 80px">
        <div class="title" style="color:#333;font-size:28px;font-weight:500;margin-bottom: 5px">关于我们</div>
        <p class="desc" style="text-transform: uppercase;">abut us</p>
        <p class="desc" style="margin-top: 20px;font-weight: 400">公司简介</p>
        <p class="text" style="font-size: 14px;color:#333;letter-spacing: 1px;text-align: justify;line-height: 1.8"><?=\common\components\Tools::getValue('site_about')?></p>
    </div>


</div>
